#ifndef BUTTONSPANEL_H
#define BUTTONSPANEL_H

#include <QWidget>
#include "ui_buttonspanel.h"

class QComboBox;

namespace ExecTerminalImplNS 
{
    using namespace Ui;
    class FlexibleComboBox;
    class ButtonsPanel : public QWidget, public ButtonsPanelClass
    {
        Q_OBJECT
    public:
        ButtonsPanel(QWidget *parent = 0);
        ~ButtonsPanel();
        FlexibleComboBox * addressComboBox()const;

    public slots:
        void switchVLayout();

    protected:
        virtual bool isUpOrientation()const;

    protected:
        void paintEvent(QPaintEvent *);
    };
}

#endif // BUTTONSPANEL_H
